package pw.hais.dz.entity;

import pw.hais.annotation.Id;
import pw.hais.annotation.Table;
import pw.hais.entity.BaseEntity;

/**
 * 用户通信密钥
 * @author HaiSheng
 * @date 2015年1月14日
 */
@Table("Dz_UserToken")
public class UserToken extends BaseEntity {
	@Id private long id;
	private long uid;
	private String token;
	
	
	public UserToken(long uid, String token) {
		super();
		this.uid = uid;
		this.token = token;
	}
	public long getId() {
		return id;
	}
	public void setId(long id) {
		this.id = id;
	}
	public long getUid() {
		return uid;
	}
	public void setUid(long uid) {
		this.uid = uid;
	}
	public String getToken() {
		return token;
	}
	public void setToken(String token) {
		this.token = token;
	}
	
	

}
